package com.team10.hotel.service;

import com.team10.hotel.domain.GoodOrder;
import com.team10.hotel.domain.Supplier;
import com.team10.hotel.domain.SupplierExample;
import com.team10.hotel.mapper.SupplierMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface SupplierService {
    List<Supplier> listSupplier();
    int saveOrUpdate(Supplier supplier);

    void deleteByPrimaryKey(Integer id);

    Supplier findSupplierById(Integer id);

    void updateSupplierInfo(Supplier supplier);
}
